/**
 * 此模块用于维护用户信息接口
 */
import request from '@/utils/request'

/**
 * @desc 用户信息数据
 * @returns Promise
 */
export const getUserInformation = () => {
  return request({
    method: 'GET',
    url: '/api/user/passport/auth/getUserInfo'
  })
}

export const logout = () => {
  return request({
    method: 'GET',
    url: '/api/user/passport/logout'
  })
}
